import { DragDataType } from './DragDataTypes'

// 可被拖放的元素的类名，mousemove的过程中会根据该类名判断是否可被拖放
export const DROPPABLE_CLASS_NAME = 'droppable'
// 可拖放容器的id key
export const DROPPABLE_ID_KEY = 'droppableContainerId'
// 可以被拖放的元素类型key
export const DROPPABLE_ACCEPTS_TYPE_KEY = 'dropAccepts'
// 存储被拖放的数据的key
export const DRAGGING_DATA_KEY = 'dragging'

export interface IDragData<Data = any> {
    type: DragDataType
    data: Data
}
